package com.gm.dao.cardOper;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.github.miemiedev.mybatis.paginator.domain.PageList;
import com.gm.controller.dto.CardOperDTO;
import com.gm.model.po.CardOperPlan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by taojie on 17-8-13.
 */
public interface ICardOperDao {

    int deleteByPrimaryKey(Integer id);

    int insert(CardOperPlan record);

    int insertSelective(CardOperPlan record);

    CardOperPlan selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CardOperPlan record);

    int updateByPrimaryKey(CardOperPlan record);

    List<CardOperPlan> getCardOperListByBlid(Integer blid);

    List<CardOperDTO> getCardOperListByOperTime(long unix);

//    PageList<CardOperPlan> getCardOperPlanList(@Param("pageBounds")PageBounds pageBounds, @Param("num")Integer num);


}
